namespace Recast
{
	public unsafe partial class RecastGlobal
	{
		public unsafe partial class rcScopedTimer
		{
			public rcContext* m_ctx;
			public rcTimerLabel m_label;
			public rcScopedTimer(rcContext* ctx, rcTimerLabel label)/*: m_ctx(ctx), m_label(label)*/
			{
				m_ctx = ctx;
				m_label = label;
				ctx->startTimer(m_label);
			}
			~rcScopedTimer()
			{
				m_ctx->stopTimer(m_label);
			}
		}
	}
}
